List myAverage := List getSlot("average")

or 

method(
    self sum / self size
)